﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SIG.Model;
using SIG.Core;

namespace SIG.Repository
{
    public interface ILogRepository : IRepository<Log>
    {
        //Log GetById(int id);

        int SearchLogsCount(DateTime? startDate, DateTime? expireDate, string level);
        IEnumerable<Log> SearchLogs(int pageIndex, int pageSize, DateTime? startDate, DateTime? expireDate, string level);
        int RemoveAll();
    }
}
